package java44th.group.bean.admin.bo.goods.creategoods;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @projectName: project-second
 * @package: java44th.group.bean.admin.bo.goods.creategoods
 * @className: AdminGoodsProduct
 * @author: 杨浩祥
 * @description: TODO
 * @date: 2022/10/12 16:37
 * @version: 1.0
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class AdminGoodsProduct implements Serializable {

    /**
     * id : 0
     * specifications : ["标准"]
     * price : 400
     * number : 200
     * url : http://182.92.235.201:8083/wx/storage/fetch/p2dcl9tlc65kled7va3a.jpg
     */

    private Integer id;

    private Integer goodsId;

    private String[] specifications;

    private BigDecimal price;

    private Integer number;

    private String url;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Boolean deleted;
}
